/*
 * @Descripttion: 啦啦啦哈哈哈
 * @version:
 * @Author: lsy
 * @Date: 2021-08-30 17:17:50
 * @LastEditors: liushengyan
 * @LastEditTime: 2022-06-10 17:58:07
 */
import { createRouter, createWebHistory } from "vue-router";
import globalRoutes from "./globalRoutes.js";
import mainRoutes from "./mainRoutes.js";

const Router = createRouter({
  history: createWebHistory("/vue3-vite-element"),
  isAddDynamicMenuRoutes: false, // 是否已经添加动态(菜单)路由
  routes: [...mainRoutes, ...globalRoutes],
});

export default Router;
